package com.github.phoenics.militia.bazookaFx.domain.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.github.phoenics.militia.bazookaFx.domain.enums.DatabaseType;

import java.io.Serializable;
import java.util.Date;

/**
 * 项目表
 *
 * @author Phoneics Chow
 * @email phoenics@126.com
 * @date 2019-01-30 15:16:38
 */
public class App implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 数据库名字
     */
    private String schemaName;
    /**
     * 项目代码，英文名称
     */
    private String appName;
    /**
     * 项目中文名称
     */
    private String appCnName;
    /**
     * 数据库类型
     */
    private DatabaseType dbType;
    /**
     * 默认的包开头
     */
    private String dfPackageHead;
    /**
     * 模块名称
     */
    private String modelName;
    /**
     * 作者
     */
    private String author;
    /**
     * 作者邮箱
     */
    private String email;
    /**
     * 表前缀
     */
    private String tablePrefix;
    /**
     * 项目保存地址
     */
    private String appPath;
    /**
     * 建立时间
     */
    private Date createTime;
    /**
     * 项目备注
     */
    private String appComment;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setSchemaName(String schemaName) {
        this.schemaName = schemaName;
    }

    public String getSchemaName() {
        return schemaName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppCnName(String appCnName) {
        this.appCnName = appCnName;
    }

    public String getAppCnName() {
        return appCnName;
    }

    public void setDbType(DatabaseType dbType) {
        this.dbType = dbType;
    }

    public DatabaseType getDbType() {
        return dbType;
    }

    public void setDfPackageHead(String dfPackageHead) {
        this.dfPackageHead = dfPackageHead;
    }

    public String getDfPackageHead() {
        return dfPackageHead;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getModelName() {
        return modelName;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getAuthor() {
        return author;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getEmail() {
        return email;
    }

    public void setTablePrefix(String tablePrefix) {
        this.tablePrefix = tablePrefix;
    }

    public String getTablePrefix() {
        return tablePrefix;
    }

    public void setAppPath(String appPath) {
        this.appPath = appPath;
    }

    public String getAppPath() {
        return appPath;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setAppComment(String appComment) {
        this.appComment = appComment;
    }

    public String getAppComment() {
        return appComment;
    }


}
